package com.simplecontact.classes;

import android.net.Uri;
import android.provider.BaseColumns;

public class Contact {

	public static final String AUTHORITY = "com.simplecontact.databases.provider.Contact";
	public static final String CONTACT_TABLE_NAME = "CONTACT";
	
	private Contact(){}
	/**
     * Contact table
     */
    public static final class ContactColumns implements BaseColumns {
        // This class cannot be instantiated
    	private ContactColumns() {}
    	
    	/**
         * The content:// style URL for this table
         */
        public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/contact");
        
        /**
         * The MIME type of {@link #CONTENT_URI} providing a directory of contact.
         */
        public static final String CONTENT_TYPE = "vnd.simplecontact.cursor.dir/vnd.simplecontact.contact";

        /**
         * The MIME type of a {@link #CONTENT_URI} sub-directory of a single contact.
         */
        public static final String CONTENT_ITEM_TYPE = "vnd.simplecontact.cursor.item/vnd.simplecontact.contact";
        
        /**
         * The default sort order for this table
         */
        public static final String DEFAULT_SORT_ORDER = "_id DESC";
        
        /**
         * The nickname of contact
         * <P>Type: STRING</P>
         */
        public static final String NICKNAME = "NICKNAME";
        
        /**
         * The firstname of contact
         * <P>Type: STRING</P>
         */
        public static final String FIRSTNAME = "FIRSTNAME";
        
        /**
         * The firstname of contact
         * <P>Type: STRING</P>
         */
        public static final String LASTNAME = "LASTNAME";
        
        /**
         * The email of contact
         * <P>Type: STRING</P>
         */
        public static final String EMAIL = "EMAIL";
        
        /**
         * The phonenumber of contact
         * <P>Type: STRING</P>
         */
        public static final String PHONENUMBER = "PHONENUMBER";
        
        /**
         * The image of contact
         * <P>Type: STRING</P>
         */
        public static final String IMAGE = "IMAGE";
        
        /**
         * The address of contact
         * <P>Type: STRING</P>
         */
        public static final String ADDRESS = "ADDRESS";
        
    }
}
